package com.chainyoung.trademarket.di.module;


import com.chainyoung.common.di.scope.ActivityScope;
import com.chainyoung.trademarket.mvp.contract.LoginContract;
import com.chainyoung.trademarket.mvp.model.LoginModel;

import dagger.Module;
import dagger.Provides;

@Module
public class LoginModule {

    private LoginContract.View view;

        public LoginModule(LoginContract.View view) {
            this.view = view;
        }

        @ActivityScope
        @Provides
        LoginContract.View providerLoginView() {
            return this.view;
        }



        @ActivityScope
        @Provides
        LoginContract.Model providerLoginModel(LoginModel model) {
            return model;
        }


}
